package com.heima.admin.channelControllerApi;

import com.heima.model.admin.pojos.AdSensitive;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.common.dtos.SensitiveDto;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;

@Api(value = "黑马头条API",tags = "Sensitive",description = "敏感词管理")
public interface AdSensitiveControllerApi {

    @ApiOperation("敏感词列表分页查询")
    public ResponseResult list(SensitiveDto sensitiveDto);

    @ApiModelProperty("新增敏感词条")
    public ResponseResult insert(AdSensitive adSensitive);

    @ApiModelProperty("修改敏感词条")
    public ResponseResult update(AdSensitive adSensitive);

    @ApiModelProperty("删除敏感词条")
    public ResponseResult deleteById(Integer id);
}
